home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2425 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 53 |c.Subjec|t: Re: S|
|00000080| 74 75 70 69 64 20 51 75 | 65 73 74 69 6f 6e 3a 20 |tupid Qu|estion: |
|00000090| 57 68 61 74 20 64 6f 65 | 73 20 22 66 6f 6f 22 20 |What doe|s "foo" |
|000000a0| 73 74 61 6e 64 20 66 6f | 72 3f 0a 44 61 74 65 3a |stand fo|r?.Date:|
|000000b0| 20 53 75 6e 2c 20 32 31 | 20 4a 61 6e 20 31 39 39 | Sun, 21| Jan 199|
|000000c0| 36 20 30 33 3a 31 35 3a | 35 38 20 2d 30 36 30 30 |6 03:15:|58 -0600|
|000000d0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 55 |.Organiz|ation: U|
|000000e0| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 49 6f 77 |niversit|y of Iow|
|000000f0| 61 2c 20 49 6f 77 61 20 | 43 69 74 79 2c 20 49 41 |a, Iowa |City, IA|
|00000100| 2c 20 55 53 41 0a 44 69 | 73 74 72 69 62 75 74 69 |, USA.Di|stributi|
|00000110| 6f 6e 3a 20 77 6f 72 6c | 64 0a 4d 65 73 73 61 67 |on: worl|d.Messag|
|00000120| 65 2d 49 44 3a 20 3c 50 | 69 6e 65 2e 41 33 32 2e |e-ID: <P|ine.A32.|
|00000130| 33 2e 39 31 2e 39 36 30 | 31 32 31 30 33 30 39 30 |3.91.960|12103090|
|00000140| 38 2e 33 33 33 35 39 4b | 2d 31 30 30 30 30 30 40 |8.33359K|-100000@|
|00000150| 72 65 64 2e 77 65 65 67 | 2e 75 69 6f 77 61 2e 65 |red.weeg|.uiowa.e|
|00000160| 64 75 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |du>.Refe|rences: |
|00000170| 3c 34 64 6e 66 37 62 24 | 31 73 61 40 66 6f 75 6e |<4dnf7b$|1sa@foun|
|00000180| 74 61 69 6e 2e 6d 69 6e | 64 6c 69 6e 6b 2e 6e 65 |tain.min|dlink.ne|
|00000190| 74 3e 20 3c 34 64 73 32 | 33 76 24 67 6c 75 24 32 |t> <4ds2|3v$glu$2|
|000001a0| 40 6d 68 61 64 67 2e 70 | 72 6f 64 75 63 74 69 6f |@mhadg.p|roductio|
|000001b0| 6e 2e 63 6f 6d 70 75 73 | 65 72 76 65 2e 63 6f 6d |n.compus|erve.com|
|000001c0| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|000001d0| 6f 73 74 3a 20 72 65 64 | 2e 77 65 65 67 2e 75 69 |ost: red|.weeg.ui|
|000001e0| 6f 77 61 2e 65 64 75 0a | 4d 69 6d 65 2d 56 65 72 |owa.edu.|Mime-Ver|
|000001f0| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|00000200| 74 2d 54 79 70 65 3a 20 | 54 45 58 54 2f 50 4c 41 |t-Type: |TEXT/PLA|
|00000210| 49 4e 3b 20 63 68 61 72 | 73 65 74 3d 55 53 2d 41 |IN; char|set=US-A|
|00000220| 53 43 49 49 0a 58 2d 53 | 65 6e 64 65 72 3a 20 72 |SCII.X-S|ender: r|
|00000230| 6f 62 69 6e 73 6f 6e 40 | 72 65 64 2e 77 65 65 67 |obinson@|red.weeg|
|00000240| 2e 75 69 6f 77 61 2e 65 | 64 75 0a 49 6e 2d 52 65 |.uiowa.e|du.In-Re|
|00000250| 70 6c 79 2d 54 6f 3a 20 | 3c 34 64 73 32 33 76 24 |ply-To: |<4ds23v$|
|00000260| 67 6c 75 24 32 40 6d 68 | 61 64 67 2e 70 72 6f 64 |glu$2@mh|adg.prod|
|00000270| 75 63 74 69 6f 6e 2e 63 | 6f 6d 70 75 73 65 72 76 |uction.c|ompuserv|
|00000280| 65 2e 63 6f 6d 3e 20 0a | 0a 4f 6e 20 32 31 20 4a |e.com> .|.On 21 J|
|00000290| 61 6e 20 31 39 39 36 2c | 20 45 61 72 6c 20 46 2e |an 1996,| Earl F.|
|000002a0| 20 47 6c 79 6e 6e 20 77 | 72 6f 74 65 3a 0a 0a 3e | Glynn w|rote:..>|
|000002b0| 20 3e 3e 20 20 20 20 4c | 6f 6f 73 65 6e 20 79 6f | >> L|oosen yo|
|000002c0| 75 72 20 74 69 65 2e 0a | 3e 20 3e 3e 20 20 20 20 |ur tie..|> >> |
|000002d0| 20 49 6e 20 6d 79 20 6f | 70 69 6e 69 6f 6e 2c 20 | In my o|pinion, |
|000002e0| 74 68 65 20 75 73 65 20 | 6f 66 20 64 69 73 63 6f |the use |of disco|
|000002f0| 75 72 61 67 69 6e 67 20 | 6f 66 20 74 68 65 20 75 |uraging |of the u|
|00000300| 73 65 20 6f 66 20 22 66 | 6f 6f 22 20 0a 3e 20 3e |se of "f|oo" .> >|
|00000310| 3e 73 68 6f 75 6c 64 0a | 3e 20 3e 3e 62 65 20 64 |>should.|> >>be d|
|00000320| 69 73 63 6f 75 72 61 67 | 65 64 20 61 6e 64 20 73 |iscourag|ed and s|
|00000330| 68 6f 77 73 20 61 20 6c | 61 63 6b 20 6f 66 20 61 |hows a l|ack of a|
|00000340| 70 70 72 65 63 69 61 74 | 69 6f 6e 20 6f 66 20 67 |ppreciat|ion of g|
|00000350| 6f 6f 64 20 73 6f 66 74 | 77 61 72 65 0a 3e 20 3e |ood soft|ware.> >|
|00000360| 3e 63 75 6c 74 75 72 61 | 6c 20 70 72 61 63 74 69 |>cultura|l practi|
|00000370| 63 65 73 2e 0a 3e 20 0a | 3e 20 44 6f 20 79 6f 75 |ces..> .|> Do you|
|00000380| 20 6b 6e 6f 77 20 61 6e | 79 74 68 69 6e 67 20 61 | know an|ything a|
|00000390| 62 6f 75 74 20 74 68 65 | 20 53 6f 66 74 77 61 72 |bout the| Softwar|
|000003a0| 65 20 4d 61 74 75 72 69 | 74 79 20 4d 6f 64 65 6c |e Maturi|ty Model|
|000003b0| 3f 0a 0a 20 20 41 63 74 | 75 61 6c 6c 79 2c 20 6e |?.. Act|ually, n|
|000003c0| 6f 2e 20 20 44 6f 20 79 | 6f 75 20 6b 6e 6f 77 20 |o. Do y|ou know |
|000003d0| 61 6e 79 74 68 69 6e 67 | 20 61 62 6f 75 74 20 61 |anything| about a|
|000003e0| 74 74 72 69 62 75 74 69 | 6e 67 20 71 75 6f 74 65 |ttributi|ng quote|
|000003f0| 73 3f 20 3a 29 0a 0a 3e | 20 20 49 20 77 6f 75 6c |s? :)..>| I woul|
|00000400| 64 20 0a 3e 20 73 75 67 | 67 65 73 74 20 74 68 6f |d .> sug|gest tho|
|00000410| 73 65 20 74 68 61 74 20 | 75 73 65 20 22 66 6f 6f |se that |use "foo|
|00000420| 22 2c 20 65 74 63 2e 20 | 69 6e 20 72 65 61 6c 20 |", etc. |in real |
|00000430| 63 6f 64 65 20 61 72 65 | 20 73 74 75 63 6b 20 61 |code are| stuck a|
|00000440| 74 20 74 68 65 20 0a 3e | 20 22 4c 65 76 65 6c 20 |t the .>| "Level |
|00000450| 31 22 20 28 63 68 61 6f | 74 69 63 29 20 73 74 61 |1" (chao|tic) sta|
|00000460| 67 65 2c 20 77 68 69 63 | 68 20 69 73 20 77 68 61 |ge, whic|h is wha|
|00000470| 74 20 69 73 20 77 72 6f | 6e 67 20 77 69 74 68 20 |t is wro|ng with |
|00000480| 6d 75 63 68 20 6f 66 20 | 74 68 65 20 0a 3e 20 63 |much of |the .> c|
|00000490| 6f 64 65 20 77 72 69 74 | 74 65 6e 20 74 68 65 73 |ode writ|ten thes|
|000004a0| 65 20 64 61 79 73 2e 20 | 20 53 74 75 64 65 6e 74 |e days. | Student|
|000004b0| 73 20 6d 69 67 68 74 20 | 74 68 69 6e 6b 20 73 75 |s might |think su|
|000004c0| 63 68 20 75 73 61 67 65 | 20 69 73 20 4f 4b 20 0a |ch usage| is OK .|
|000004d0| 3e 20 73 69 6e 63 65 20 | 74 68 65 79 20 73 61 77 |> since |they saw|
|000004e0| 20 73 75 63 68 20 6d 6e | 65 6d 6f 6e 69 63 73 20 | such mn|emonics |
|000004f0| 75 73 65 64 20 69 6e 20 | 63 6f 6c 6c 65 67 65 20 |used in |college |
|00000500| 62 79 20 74 68 65 69 72 | 20 70 72 6f 66 73 2e 20 |by their| profs. |
|00000510| 20 54 68 65 20 0a 3e 20 | 61 63 61 64 65 6d 69 63 | The .> |academic|
|00000520| 73 20 61 72 65 6e 27 74 | 20 68 65 6c 70 69 6e 67 |s aren't| helping|
|00000530| 20 63 72 65 61 74 65 20 | 67 6f 6f 64 20 73 6f 66 | create |good sof|
|00000540| 74 77 61 72 65 20 65 6e | 67 69 6e 65 65 72 73 2e |tware en|gineers.|
|00000550| 0a 0a 20 20 46 6f 6f 20 | 69 73 20 75 73 65 66 75 |.. Foo |is usefu|
|00000560| 6c 20 70 72 65 63 69 73 | 65 6c 79 20 62 65 63 61 |l precis|ely beca|
|00000570| 75 73 65 20 69 74 20 69 | 73 20 6e 6f 74 20 22 73 |use it i|s not "s|
|00000580| 65 72 69 6f 75 73 2e 22 | 20 20 49 66 20 61 20 66 |erious."| If a f|
|00000590| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 0a 69 6c 6c 75 |unction |to .illu|
|000005a0| 73 74 72 61 74 65 20 61 | 6e 20 65 78 61 6d 70 6c |strate a|n exampl|
|000005b0| 65 20 74 68 61 74 20 64 | 6f 65 73 20 6e 6f 74 20 |e that d|oes not |
|000005c0| 64 6f 20 65 72 72 6f 72 | 2d 63 68 65 63 6b 69 6e |do error|-checkin|
|000005d0| 67 20 69 73 20 63 61 6c | 6c 65 64 20 22 66 6f 6f |g is cal|led "foo|
|000005e0| 22 20 0a 69 74 27 73 20 | 6c 65 73 73 20 6c 69 6b |" .it's |less lik|
|000005f0| 65 6c 79 20 74 6f 20 62 | 65 20 74 61 6b 65 6e 20 |ely to b|e taken |
|00000600| 73 65 72 69 6f 75 73 6c | 79 20 61 6e 64 20 75 73 |seriousl|y and us|
|00000610| 65 64 20 75 6e 6d 6f 64 | 69 66 69 65 64 2e 20 20 |ed unmod|ified. |
|00000620| 49 66 20 70 65 6f 70 6c | 65 20 61 72 65 20 0a 61 |If peopl|e are .a|
|00000630| 63 74 75 61 6c 6c 79 20 | 75 73 69 6e 67 20 22 66 |ctually |using "f|
|00000640| 6f 6f 22 20 69 6e 20 74 | 68 65 69 72 20 63 6f 64 |oo" in t|heir cod|
|00000650| 65 20 74 68 65 6e 20 74 | 68 61 74 27 73 20 74 68 |e then t|hat's th|
|00000660| 65 69 72 20 70 72 6f 62 | 6c 65 6d 2e 20 20 4d 79 |eir prob|lem. My|
|00000670| 20 70 72 6f 66 73 20 0a | 77 65 69 67 68 74 65 64 | profs .|weighted|
|00000680| 20 76 61 72 69 61 62 6c | 65 20 6e 61 6d 69 6e 67 | variabl|e naming|
|00000690| 20 61 6e 64 20 63 6f 64 | 65 20 63 6f 6d 6d 65 6e | and cod|e commen|
|000006a0| 74 69 6e 67 20 61 74 20 | 32 30 25 20 6f 66 20 74 |ting at |20% of t|
|000006b0| 68 65 20 74 6f 74 61 6c | 20 0a 68 6f 6d 65 77 6f |he total| .homewo|
|000006c0| 72 6b 20 67 72 61 64 65 | 2c 20 77 68 69 63 68 20 |rk grade|, which |
|000006d0| 77 61 73 20 74 68 65 20 | 6d 6f 73 74 20 65 66 66 |was the |most eff|
|000006e0| 65 63 74 69 76 65 20 69 | 6e 63 65 6e 74 69 76 65 |ective i|ncentive|
|000006f0| 20 74 6f 20 6e 6f 74 20 | 63 61 6c 6c 20 72 65 61 | to not |call rea|
|00000700| 6c 20 0a 63 6f 64 65 20 | 22 66 6f 6f 22 20 74 68 |l .code |"foo" th|
|00000710| 61 74 20 49 27 76 65 20 | 72 75 6e 20 61 63 72 6f |at I've |run acro|
|00000720| 73 73 2c 20 73 6f 20 74 | 68 65 79 20 75 73 65 64 |ss, so t|hey used|
|00000730| 20 22 66 6f 6f 22 20 69 | 6e 20 63 6c 61 73 73 20 | "foo" i|n class |
|00000740| 77 69 74 68 20 69 6d 70 | 75 6e 69 74 79 2e 0a 20 |with imp|unity.. |
|00000750| 20 4f 66 20 63 6f 75 72 | 73 65 20 6f 6e 65 20 6f | Of cour|se one o|
|00000760| 66 20 6d 79 20 63 6f 77 | 6f 72 6b 65 72 73 20 63 |f my cow|orkers c|
|00000770| 61 6c 6c 73 20 61 6c 6c | 20 74 68 65 20 66 69 6c |alls all| the fil|
|00000780| 65 73 20 73 68 65 20 63 | 72 65 61 74 65 73 20 22 |es she c|reates "|
|00000790| 4c 2e 4c 22 20 0a 72 65 | 67 61 72 64 6c 65 73 73 |L.L" .re|gardless|
|000007a0| 20 6f 66 20 74 68 65 69 | 72 20 63 6f 6e 74 65 6e | of thei|r conten|
|000007b0| 74 20 2d 2d 20 6f 6e 20 | 56 4d 53 2c 20 6e 6f 20 |t -- on |VMS, no |
|000007c0| 6c 65 73 73 20 2d 2d 20 | 73 6f 20 49 20 61 6d 20 |less -- |so I am |
|000007d0| 64 6f 75 62 6c 79 20 61 | 77 61 72 65 20 6f 66 20 |doubly a|ware of |
|000007e0| 0a 74 68 65 20 69 6d 70 | 6f 72 74 61 6e 63 65 20 |.the imp|ortance |
|000007f0| 6f 66 20 6e 61 6d 65 73 | 2e 20 20 41 6e 64 20 66 |of names|. And f|
|00000800| 6f 6f 20 68 61 73 20 69 | 74 73 20 6f 77 6e 20 61 |oo has i|ts own a|
|00000810| 72 65 61 20 6f 66 20 69 | 6d 70 6f 72 74 61 6e 63 |rea of i|mportanc|
|00000820| 65 20 61 73 20 61 20 6e | 61 6d 65 2e 0a 0a 2f 2a |e as a n|ame.../*|
|00000830| 2a 4a 61 6d 65 73 20 52 | 6f 62 69 6e 73 6f 6e 2a |*James R|obinson*|
|00000840| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000850| 2a 2a 2a 2a 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |****** | |
|00000860| 20 20 0a 20 20 22 49 66 | 20 61 20 66 61 74 61 6c | . "If| a fatal|
|00000870| 20 65 72 72 6f 72 20 6f | 63 63 75 72 73 2c 20 74 | error o|ccurs, t|
|00000880| 68 65 20 70 72 6f 67 72 | 61 6d 20 73 68 6f 75 6c |he progr|am shoul|
|00000890| 64 20 6e 6f 74 20 62 65 | 20 61 6c 6c 6f 77 65 64 |d not be| allowed|
|000008a0| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 2e 22 0a 20 | to cont|inue.". |
|000008b0| 2d 2d 20 4f 72 61 63 6c | 65 20 50 72 6f 2a 43 20 |-- Oracl|e Pro*C |
|000008c0| 55 73 65 72 27 73 20 47 | 75 69 64 65 20 20 20 20 |User's G|uide |
|000008d0| 20 20 20 20 20 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | ***|********|
|000008e0| 2a 2a 6a 61 6d 65 73 2d | 72 6f 62 69 6e 73 6f 6e |**james-|robinson|
|000008f0| 40 75 69 6f 77 61 2e 65 | 64 75 2a 2a 2f 0a 0a |@uiowa.e|du**/.. |
+--------+-------------------------+-------------------------+--------+--------+